#coding=utf-8
#!/usr/bin/python3
# @author:ZhaiGuiDe
# @Time:2021/6/2/ 14:04
import os

VIDEO_FILE_PATH = "E:\\\\\\\\zhiyinxoashi-video-110\\\\\\\\MP4\\\\\\\\"

class Common():
    def get_all_video_names(self):
        # 拿到所有的 .mp4文件
        video_names_list = []
        file_list = os.listdir(VIDEO_FILE_PATH)
        for file in file_list:
            if file.endswith(".mp4"):
                video_names_list.append(file)
        print(video_names_list)
        return video_names_list



if __name__ == '__main__':
    comm = Common()
    comm.get_all_video_names()